﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Advanced Search
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
    $(document).ready(function () {
            $(".date-picker").datepicker();
        }
    );

</script>

<h2>Advanced Search</h2>
<% using (Html.BeginForm("AdvancedSearch", "Search", FormMethod.Get)) {%>
    search <%:Html.TextBox("Query", "") %> <br />
    between <%:Html.TextBox("DateFrom", "", new { @class = "date-picker" }) %> and <%:Html.TextBox("DateTo", "", new { @class = "date-picker" } ) %> <br />
    injury <%:Html.TextBox("InjuryLocation") %> <br />
    <input type="submit" value="Search"/>
<% } %>



</asp:Content>
